<template>
  <div class="dashboard-container">
    <div class="app-container">
      <div class="dashboard-text">name: {{ name }}</div>
      <!-- //在下边添加 -->
      <!-- //show-before是:show-before="true"的简写，所有等于true的都可以只写属性名 -->
      <page-tools show-before>
        <template v-slot:before>
          <span>我想你们</span>
        </template>
        <template #after>
          <el-button type="primary">导入Excel</el-button>
        </template>
      </page-tools>
    </div>
  </div>
</template>

<script>
import PageTools from '@/components/PageTools'
export default {
  components: {
    PageTools
  },
  data () {
    return {
      name: '管理员'
    }
  }
}
</script>

<style>

</style>
